home *** CD-ROM | disk | FTP | other *** search
/ Workbench Designer 2 / Workbench Designer 2.iso / pointer / animpoint / arexx / shutdown.rexx < prev   
Encoding:
OS/2 REXX Batch file  |  1994-01-01  |  342 b   |  14 lines

  1. /* this script shuts down AnimPoint */
  2.  
  3. /* -- if an AnimPoint is not running, complain ---------------------------- */
  4.  
  5.    if pos('ANIMPOINT', (show(ports))) = 0 then do
  6.       say "AnimPoint server not running."
  7.       exit 5
  8.    end
  9.  
  10. /* -- if we found one, tell it to exit ------------------------------------ */
  11.  
  12.    address ANIMPOINT
  13.    quit
  14.